package com.neu.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.his.entity.Department;
import com.neu.his.entity.DepartmentType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptTypeMapper extends BaseMapper<DepartmentType> {

    //获取对应类型的所有部门信息 -1表示查询所有类型
    public List<DepartmentType> getDeptOfType(Long id);
}
